package cn.iocoder.yudao.module.wms.controller.admin.batch.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 批号设置新增/修改 Request VO")
@Data
public class BatchSaveReqVO {

    @Schema(description = "批次id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15281")
    private Long id;

    @Schema(description = "前缀", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "前缀不能为空")
    private String fname;

    @Schema(description = "标识", example = "张三")
    private String tname;

    @Schema(description = "流水长度", example = "李四")
    private Integer sname;

    @Schema(description = "当前流水", example = "李四")
    private Long nowSerial;

}